package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.BusinessResult;
import org.linlinjava.litemall.db.domain.BusinessResultExample;

public interface BusinessResultMapper {
    long countByExample(BusinessResultExample example);

    int deleteByExample(BusinessResultExample example);

    int deleteByPrimaryKey(String resId);

    int insert(BusinessResult record);

    int insertSelective(BusinessResult record);

    BusinessResult selectOneByExample(BusinessResultExample example);

    BusinessResult selectOneByExampleSelective(@Param("example") BusinessResultExample example, @Param("selective") BusinessResult.Column ... selective);

    List<BusinessResult> selectByExampleSelective(@Param("example") BusinessResultExample example, @Param("selective") BusinessResult.Column ... selective);

    List<BusinessResult> selectByExample(BusinessResultExample example);

    BusinessResult selectByPrimaryKeySelective(@Param("resId") String resId, @Param("selective") BusinessResult.Column ... selective);

    BusinessResult selectByPrimaryKey(String resId);

    int updateByExampleSelective(@Param("record") BusinessResult record, @Param("example") BusinessResultExample example);

    int updateByExample(@Param("record") BusinessResult record, @Param("example") BusinessResultExample example);

    int updateByPrimaryKeySelective(BusinessResult record);

    int updateByPrimaryKey(BusinessResult record);
}